/**
 * Created by ste on 2018/1/17.
 */
import { observable, autorun } from 'mobx';

export default function demo1() {
  const vaule = observable(0);
  autorun(() => {
    console.log(`Vaule is: ${vaule.get()}`);
  });
  vaule.set(2);
  vaule.set(-4);
  vaule.set(8);
}
